import logging

def log_get():
    logging.basicConfig(level=logging.DEBUG,format="%(asctime)s->%(levelname)s->%(message)s",filemode='w+',filename='log.txt')